 package com.thtfpc.stroke.screening.bean.comm;

public enum ServerCode
 {
  SYS_COMM_EXCEPTION("5001", "服务器开了小差"),
  USER_NOT_EXIST("6001", "用户信息不存在"),
   USER_REGISTERED("6002", "用户已经注册"),
   USER_LOG_ERROR("6002", "用户账号不存在或密码不正确"),
   PATIENT_NOT_EXIST("6002", "患者信息不存在"),
   OPERATER_NOT_EXIST("6003", "操作人信息不存在"),
   NOT_ALLOW_EXCEPTION("6004", "改用户无法查看该信息"),
   OLD_PWD_ERROR("6005", "原密码不正确"),
   PARA_lLLEGAL("7001", "参数非法"),
   PARA_NOT_NULL("7002", "参数不能为空"),
   DATE_PARE_ERROR("7003", "日期转换出错"),
   IMG_IS_BLANK("7004", "没有上传图片"),
  LOGIN_INFO_ERROR("6005", "登录账号和密码不匹配");
  private final String code;
  private final String msg;

 ServerCode(String code, String msg) {
     this.code = code;
     this.msg = msg;
 }
   public String getCode() {
/* 26 */     return this.code;
/*    */   }
   public String getMsg() {
/* 29 */     return this.msg;
/*    */   }
 }


